<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Dissasemble: src/process/elfProcess/headerProcess.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="Hopper_v3.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Dissasemble
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">This project receives as input a file.o and displays the assembly code for that object.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('header_process_8c.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">src/process/elfProcess/headerProcess.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="header_process_8h_source.html">headerProcess.h</a>&quot;</code><br/>
<code>#include &lt;<a class="el" href="config_8h_source.html">config.h</a>&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;sys/types.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="decode_8h_source.html">process/decode/decode.h</a>&quot;</code><br/>
<code>#include &lt;<a class="el" href="my_lib_8h_source.html">myLib.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for headerProcess.c:</div>
<div class="dyncontent">
<div class="center"><img src="header_process_8c__incl.png" border="0" usemap="#src_2process_2elf_process_2header_process_8c" alt=""/></div>
<map name="src_2process_2elf_process_2header_process_8c" id="src_2process_2elf_process_2header_process_8c">
<area shape="rect" id="node3" href="header_process_8h.html" title="headerProcess.h" alt="" coords="86,83,206,112"/><area shape="rect" id="node7" href="config_8h.html" title="config.h" alt="" coords="91,237,158,267"/><area shape="rect" id="node29" href="decode_8h.html" title="process/decode/decode.h" alt="" coords="400,83,571,112"/><area shape="rect" id="node47" href="my_lib_8h.html" title="myLib.h" alt="" coords="975,83,1042,112"/><area shape="rect" id="node5" href="debug_8h.html" title="debug.h" alt="" coords="247,160,314,189"/><area shape="rect" id="node45" href="common_8h.html" title="common.h" alt="" coords="818,160,900,189"/></map>
</div>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structs__header_process.html">s_headerProcess</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">structure containing the name and function of each section to disassemble  <a href="structs__header_process.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a1f0e224fa59a7f99fdef842b0efb7728">HEADER_NAME_TEXT</a>&#160;&#160;&#160;&quot;.text&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a3c0994146b1bef939dee3fe64f6dce28">RAW_PRINT_LENGTH</a>&#160;&#160;&#160;16</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Raw print length.  <a href="#a3c0994146b1bef939dee3fe64f6dce28"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a9832a2fd05088ded2ec732fa0656dfca">processText</a> (GElf_Shdr shdr, Elf *e, size_t shstrndx, int <a class="el" href="my_obj_dump_8c.html#a6f8059414f0228f0256115e024eeed4b">fd</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that processes the text contained within a section of the file.  <a href="#a9832a2fd05088ded2ec732fa0656dfca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a5de22d81fbbb97dc663c2b87c27a6f48">processHeader</a> (GElf_Shdr shdr, Elf *e, size_t shstrndx, int <a class="el" href="my_obj_dump_8c.html#a6f8059414f0228f0256115e024eeed4b">fd</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#ad24288bd8f64a0089255ac61b93c4ecb">readBinHeaderByte</a> (GElf_Shdr shdr, int <a class="el" href="my_obj_dump_8c.html#a6f8059414f0228f0256115e024eeed4b">fd</a>, int offset)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the binary contents of a byte of section established.  <a href="#ad24288bd8f64a0089255ac61b93c4ecb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a8e4ad65b0ee0fe343882d85d093b7759">readBinHeaderData</a> (GElf_Shdr shdr, int <a class="el" href="my_obj_dump_8c.html#a6f8059414f0228f0256115e024eeed4b">fd</a>, int offset, char *buf, char <a class="el" href="my_obj_dump_8c.html#a1e1268d164c38e4f8a4f4eb9058b0601">size</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#afaf18ccf41a8fab748ba6cb0adb5c319">rawPrintContent</a> (int <a class="el" href="my_obj_dump_8c.html#a6f8059414f0228f0256115e024eeed4b">fd</a>, GElf_Shdr shdr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the hex output format to the readBinHeaderByte function.  <a href="#afaf18ccf41a8fab748ba6cb0adb5c319"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a3cf7c204025d9fb0a86031ffdd481992">printMachinePretty</a> (<a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *inst)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets output format to a machine instruction.  <a href="#a3cf7c204025d9fb0a86031ffdd481992"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#acc4eb4e80b0bee5ee1867ffa7b5069a1">printMachine</a> (<a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *inst)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays the hexadecimal number for the instruction processed.  <a href="#acc4eb4e80b0bee5ee1867ffa7b5069a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#a3be427673484ac076b7513861e5dc3bc">printAsm</a> (<a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *inst)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays the assembler instruction corresponding to the instruction analyzed.  <a href="#a3be427673484ac076b7513861e5dc3bc"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs__header_process.html">s_headerProcess</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_process_8c.html#aa3d3410182a503bc7302d19f7c6c3119">headerFunctions</a> []</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Array of header functions.  <a href="#aa3d3410182a503bc7302d19f7c6c3119"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a1f0e224fa59a7f99fdef842b0efb7728"></a><!-- doxytag: member="headerProcess.c::HEADER_NAME_TEXT" ref="a1f0e224fa59a7f99fdef842b0efb7728" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="header_process_8c.html#a1f0e224fa59a7f99fdef842b0efb7728">HEADER_NAME_TEXT</a>&#160;&#160;&#160;&quot;.text&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3c0994146b1bef939dee3fe64f6dce28"></a><!-- doxytag: member="headerProcess.c::RAW_PRINT_LENGTH" ref="a3c0994146b1bef939dee3fe64f6dce28" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="header_process_8c.html#a3c0994146b1bef939dee3fe64f6dce28">RAW_PRINT_LENGTH</a>&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Raw print length. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a3be427673484ac076b7513861e5dc3bc"></a><!-- doxytag: member="headerProcess.c::printAsm" ref="a3be427673484ac076b7513861e5dc3bc" args="(MACHINE_INSTRUCTION *inst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8c.html#a3be427673484ac076b7513861e5dc3bc">printAsm</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays the assembler instruction corresponding to the instruction analyzed. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">inst</td><td>Machine instruction to be set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acc4eb4e80b0bee5ee1867ffa7b5069a1"></a><!-- doxytag: member="headerProcess.c::printMachine" ref="acc4eb4e80b0bee5ee1867ffa7b5069a1" args="(MACHINE_INSTRUCTION *inst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8c.html#acc4eb4e80b0bee5ee1867ffa7b5069a1">printMachine</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays the hexadecimal number for the instruction processed. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">inst</td><td>Machine instruction to be set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3cf7c204025d9fb0a86031ffdd481992"></a><!-- doxytag: member="headerProcess.c::printMachinePretty" ref="a3cf7c204025d9fb0a86031ffdd481992" args="(MACHINE_INSTRUCTION *inst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8c.html#a3cf7c204025d9fb0a86031ffdd481992">printMachinePretty</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#a66e747e261292e6aa8b1428bbc5957f7">MACHINE_INSTRUCTION</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets output format to a machine instruction. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">inst</td><td>Machine Instruction to be set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5de22d81fbbb97dc663c2b87c27a6f48"></a><!-- doxytag: member="headerProcess.c::processHeader" ref="a5de22d81fbbb97dc663c2b87c27a6f48" args="(GElf_Shdr shdr, Elf *e, size_t shstrndx, int fd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8h.html#a689841adf939e25049d03bb3bd395468">processHeader</a> </td>
          <td>(</td>
          <td class="paramtype">GElf_Shdr&#160;</td>
          <td class="paramname"><em>shdr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Elf *&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>shstrndx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shdr</td><td>ELF object containing the information for each section of the file </td></tr>
    <tr><td class="paramname">e</td><td>Elf object containing the information of the input file </td></tr>
    <tr><td class="paramname">shstrndx</td><td>Size of ELF section </td></tr>
    <tr><td class="paramname">fd</td><td>Pointer to the input file </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9832a2fd05088ded2ec732fa0656dfca"></a><!-- doxytag: member="headerProcess.c::processText" ref="a9832a2fd05088ded2ec732fa0656dfca" args="(GElf_Shdr shdr, Elf *e, size_t shstrndx, int fd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="header_process_8c.html#a9832a2fd05088ded2ec732fa0656dfca">processText</a> </td>
          <td>(</td>
          <td class="paramtype">GElf_Shdr&#160;</td>
          <td class="paramname"><em>shdr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Elf *&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>shstrndx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Function that processes the text contained within a section of the file. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shdr</td><td>ELF object containing the information of a specific section of the input file </td></tr>
    <tr><td class="paramname">e</td><td>Elf object containing the information of the input file </td></tr>
    <tr><td class="paramname">shstrndx</td><td>Size of ELF section </td></tr>
    <tr><td class="paramname">fd</td><td>Pointer to the input file </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afaf18ccf41a8fab748ba6cb0adb5c319"></a><!-- doxytag: member="headerProcess.c::rawPrintContent" ref="afaf18ccf41a8fab748ba6cb0adb5c319" args="(int fd, GElf_Shdr shdr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8c.html#afaf18ccf41a8fab748ba6cb0adb5c319">rawPrintContent</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GElf_Shdr&#160;</td>
          <td class="paramname"><em>shdr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the hex output format to the readBinHeaderByte function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shdr</td><td>ELF object containing the information of a specific section of the input file </td></tr>
    <tr><td class="paramname">fd</td><td>Pointer to the input file </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad24288bd8f64a0089255ac61b93c4ecb"></a><!-- doxytag: member="headerProcess.c::readBinHeaderByte" ref="ad24288bd8f64a0089255ac61b93c4ecb" args="(GElf_Shdr shdr, int fd, int offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="header_process_8c.html#ad24288bd8f64a0089255ac61b93c4ecb">readBinHeaderByte</a> </td>
          <td>(</td>
          <td class="paramtype">GElf_Shdr&#160;</td>
          <td class="paramname"><em>shdr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reads the binary contents of a byte of section established. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shdr</td><td>ELF object containing the information of a specific section of the input file </td></tr>
    <tr><td class="paramname">fd</td><td>Pointer to the input file </td></tr>
    <tr><td class="paramname">offset</td><td>Establishes position where you start reading</td></tr>
    <tr><td class="paramname">shdr</td><td>ELF object containing the information of a specific section of the input file </td></tr>
    <tr><td class="paramname">fd</td><td>Pointer to the input file </td></tr>
    <tr><td class="paramname">offset</td><td>Establishes position where you start reading </td></tr>
    <tr><td class="paramname">buf</td><td>buffer containing the portion of the file that has been read </td></tr>
    <tr><td class="paramname">size</td><td>Portion size to be read </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8e4ad65b0ee0fe343882d85d093b7759"></a><!-- doxytag: member="headerProcess.c::readBinHeaderData" ref="a8e4ad65b0ee0fe343882d85d093b7759" args="(GElf_Shdr shdr, int fd, int offset, char *buf, char size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="header_process_8c.html#a8e4ad65b0ee0fe343882d85d093b7759">readBinHeaderData</a> </td>
          <td>(</td>
          <td class="paramtype">GElf_Shdr&#160;</td>
          <td class="paramname"><em>shdr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="aa3d3410182a503bc7302d19f7c6c3119"></a><!-- doxytag: member="headerProcess.c::headerFunctions" ref="aa3d3410182a503bc7302d19f7c6c3119" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs__header_process.html">s_headerProcess</a> <a class="el" href="header_process_8c.html#aa3d3410182a503bc7302d19f7c6c3119">headerFunctions</a>[]</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Initial value:</b><div class="fragment"><pre class="fragment">
{
{ <a class="code" href="header_process_8c.html#a1f0e224fa59a7f99fdef842b0efb7728">HEADER_NAME_TEXT</a>, <a class="code" href="header_process_8c.html#a9832a2fd05088ded2ec732fa0656dfca" title="Function that processes the text contained within a section of the file.">processText</a> },
{ 0, 0 } }
</pre></div>
<p>Array of header functions. </p>

</div>
</div>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="header_process_8c.html">headerProcess.c</a>      </li>

    <li class="footer">Generated on Thu Oct 11 2012 12:32:08 for Dissasemble by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
